<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>网站配置编辑</title>
<link rel="stylesheet"
	href="${basePath }/admin/bower_components/bootstrap/dist/css/bootstrap.min.css">
	<script src="${basePath }/admin/bower_components/ckeditor/ckeditor.js"></script>

		<script type="text/javascript">
		    window.onload = function()
		    {
		        CKEDITOR.replace( 'description');
		    };
		</script>
</head>
<body>
	<form class="form-horizontal" action="${basePath }/admin/editConfig.action"
		method="post">
		
			<input type="hidden" name="id" value="${config.id }">
		
		<div class="form-group">
			<label for="InputName" class="col-sm-2 control-label">属性</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" value="${config.configKey }"
					id="InputconfigValue" name="configKey" placeholder="属性">
			</div>
		</div>
		<div class="form-group">
			<label for="InputValue" class="col-sm-2 control-label">参数</label>
			<div class="col-sm-10">				
				<textarea name="configValue" id="description" placeholder="参数"/>${config.configValue }</textarea>
			</div>
		</div>
		<div class="form-group">
			<label for="inputdataType" class="col-sm-2 control-label">数据类型</label>
			<div class="col-sm-10">
				<select name="datatype" class="form-control">
					<option value="文本">文本</option>
					<option value="图片">图片</option>
					<option value="微博">微博</option>
					<option value="数字">数字</option>
					<option value="邮件">邮件</option>
					<option value="电话">电话</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label for="inputType" class="col-sm-2 control-label">类型</label>
			<div class="col-sm-10">
				<select name="type" class="form-control">
					<option value="系统配置">系统配置</option>
					<option value="邮件配置">邮件配置</option>
					<option value="上传配置">上传配置</option>
					<option value="SMS">SMS</option>
					<option value="OSS">OSS</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label for="inputStatus" class="col-sm-2 control-label">状态</label>
			<div class="col-sm-10">
				<select name="status" class="form-control">
					<option value="1">启用</option>
					<option value="0">未启用</option>
				</select>
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">提交</button>
			</div>
		</div>
	</form>

</body>
</html>